﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace UmlDesigner.Gui
{
    public partial class ScrollingPanel : Panel
    {
        public ScrollingPanel() : base()
        {
        }

        protected override Point ScrollToControl(Control activeControl)
        {
            //return DisplayRectangle.Location;
            return AutoScrollPosition;
        }

    }
}
